home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / GetMode 1.4 (US) / GetMode 1.4 (US).rsrc / HELP_5635 next >
Encoding:
Text File  |  1996-01-09  |  1.7 KB  |  42 lines

  1.  
  2.  
  3.                                             GetMode 1.4
  4.  
  5.                                         by Frédéric RINALDI
  6.  
  7. DESCRIPTION
  8.   GetMode is an XFCN allowing to get the screen(s)' video mode, depth and size.
  9.  
  10. SYNTAX
  11.                                                 GetMode ( )
  12.  
  13. PARAMETERS
  14.    No parameter needed.
  15.  
  16.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright, syntax and output).
  17.  
  18. USING
  19.   The XFCN returns a one or many lines string, each one corresponding to one available screen. Each line contains a 5 or 7 items (depending on the System in use) :
  20.  
  21.   <B|C>,<1|2|4|8|32>,<screen nb>,<B|C>,<1|2|4|8|16|32>,<width>,<height>
  22.   +---------------+----------+-------------------+--------------+
  23.      current video                           maximum values          screen size
  24.  
  25. ERRORS
  26.    If an error occurs, the XFCN can return :
  27.      "Error : Couln't get system informations"
  28.      "Error : GetMode requires system ≥ 6.0.5"
  29.  
  30. HISTORY
  31. 1.4                                                                  03/04/92
  32. • Added 16 bits support (thousands of colors)
  33. • If no colorQD, value is returned rather than error
  34. --------------------------------------------------------------------
  35.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  36.  
  37.                    GetMode XFCN, © Frederic Rinaldi, 1989…1993.
  38.  
  39.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  40.  
  41. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  42.                Internet : RINALDI1@APPLELINK@APPLE.COM